package com.xc.hotelmgr.webapi.modules.op.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author kemmy
 * @email kemmy@gmail.com
 * @date 2020-09-29 14:30:31
 */
@Data
@TableName("op_our_rateplan")
public class OurRateplanEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Integer id;

	private String name;
	/**
	 * 
	 */
	private Integer dtId;

	@TableField(exist = false)
	private String dtName;

	@TableField(exist = false)
	private Integer storeId;

	@TableField(exist = false)
	private String storeName;

	private Integer groupId;

	/**
	 * 
	 */
	@TableField(exist = false)
	private String groupName;

	/**
	 */
	private Integer cancleType;
	/**
	 * 
	 */
	private String cancleJsonStr;
	/**
	 * 
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Integer breakfastNum;

	/**
	 * 加价百分比
	 */
	private Integer changePricePercent;
	/**
	 * 加价额
	 */
	private Integer changePriceAmount;
	/**
	 * 最高价
	 */
	private Integer highestPrice;
	/**
	 * 推送渠道
	 */
	private String channel;
	@TableField(exist = false)
	private List<OpOurRateplanPriceEntity> ourRateplanPrices;

}
